package com.hksj.vsm.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 视频设备
 * @author chenxingqing
 */
@Data
@ApiModel
public class VideoDeviceDTO implements Serializable {

    @ApiModelProperty(value = "设备ID(只能由数字,字母,下划线和中划线组成)")
    private String id;

    @ApiModelProperty(value = "图片地址")
    private String photoUrl;

    @ApiModelProperty(value = "设备名称")
    private String name;

    @ApiModelProperty(value = "说明")
    private String describe;

    @ApiModelProperty(value = "排序号")
    private Integer sortNo;

    @ApiModelProperty(value = "服务器ip")
    private String serverIp;

    @ApiModelProperty(value = "端口号")
    private Integer serverPort;

    @ApiModelProperty(value = "接入用户")
    private String username;

    @ApiModelProperty(value = "接入密码")
    private String password;

    @ApiModelProperty(value = "接入通道")
    private String channel;

    @JsonIgnore
    @ApiModelProperty("当前用户id")
    private String userId;

    @JsonIgnore
    @ApiModelProperty("当前用户姓名")
    private String uname;
}
